<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,minimum-scale=0.1,maximum-scale=10,initial-scale=1.0,user-scalable=yes"/>

        <link rel="stylesheet" href="[:vendor]/bootstrap/css/bootstrap.css" type="text/css">
        <link rel="stylesheet" href="[:vendor]/font-awesome/css/font-awesome.min.css">
        <link rel="stylesheet" href="[:vendor]/sb-admin/sb-admin-2.min.css">
       
        <script src="[:vendor]/jquery/jquery-2.1.1.min.js"></script>
        <script src="[:vendor]/bootstrap/js/bootstrap.min.js"></script>
        <script src="[:vendor]/vue/vue.js"></script>
        <script src="[:vendor]/metisMenu/metisMenu.min.js"></script>
        <script src="[:vendor]/sb-admin/sb-admin-2.min.js"></script>

        <link rel="stylesheet" href="[:app]/css/common.css">
        <script src="[:app]/js/main.js"></script>

        <title></title>
    </head>
    <body>
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="?"> ANNA </a>
            </div>
            <ul class="nav navbar-top-links navbar-right">
                <li class=""><a class="">用户名</a></li>
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                        <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li data-toggle="modal" data-target="#sign_out_dialog_modal">
                            <a href="#"><i class="fa fa-sign-out fa-fw"></i> 注销</a>
                        </li>
                    </ul>
                </li>
            </ul>



            <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav in" id="side-menu">
                        <li>
                            <a href="#"><i class="fa fa-sitemap fa-fw"></i>&nbsp;分析器<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <?php $parsers = Parser::cachedAll(); ?>
                                <?php foreach ($parsers as $id => $parser) { ?>
                                <li><a href="?parser/index&parser=<?php echo $id; ?>"><?php echo $parser->title(); ?></a></li>
                                <?php } ?>
                            </ul>
                        </li>
                        <!-- li>
                            <a href="#"><i class="fa fa-wrench fa-fw"></i>&nbsp;系统<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li><a href="?setting">设置</a></li>
                            </ul>
                        </li -->
                    </ul>
                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
        </nav>
        <div id="page-wrapper">

